import requests
# req = requests.get(url="http://kdtx-test.itheima.net/api/captchaImage")
# print(req.json())



url ="http://kdtx-test.itheima.net/api/login"
header_data={"Content-Type":"application/json"}
json ={"username":"admin","password":"HM_2023_test","code":"2","uuid":"2e8cee963a6d4a08a81e3136db99878c"}
rep = requests.post(url=url,headers=header_data,json=json)
print(rep.json())

